{dede:include filename="jhead.htm"/}
<script type="text/javascript">
//留言内容
function cmessage(){
var message = $("#message").val();
//tohidden
$("#message1").hide();
$("#message2").hide();
$("#message3").hide();

	if(!message.length){
	 $("#message3").show();
	}else if(message.length>500){
	  $("#message3").show();
	}else{
	  $("#message1").show();
	}
}
//姓名
function cname(){
var name = $("#name").val();
//tohidden
$("#name1").hide();
$("#name2").hide();
	if(!name.length){
	 $("#name2").show();
	}else{
	  $("#name1").show();
	}
}
//邮箱
function cmail(){
var mail = $("#mail").val();
//tohidden
$("#mail1").hide();
$("#mail2").hide();
$("#mail3").hide();

var myreg = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
	if(!mail.length){
	 $("#mail2").show();
	}else if(!myreg.test(mail)){
	    $("#mail3").show();
	}else{
	  $("#mail1").show();
	}
}
//手机
function ctel(){
var tel = $("#tel").val();
//tohidden
$("#tel1").hide();
$("#tel2").hide();
$("#tel3").hide();
//验证电话号码手机号码，包含至今所有号段   
var ab=/^(13[0-9]|15[0|3|6|7|8|9]|18[8|9])\d{8}$/;
	if(!tel.length){
	 $("#tel2").show();
	}else if(ab.test(tel) == false){
	  $("#tel3").show();
	}else{
	  $("#tel1").show();
	}
}
function formall(){
	
	var name = $("#name").val();
	if(!name.length){
	  alert('姓名不能为空!,请输入');
	  $("#name").focus();
	  return false;	
	}
	var mail = $("#mail").val();
	if(!mail.length){
	  alert('邮箱不能为空！请输入')
	  $("#mail").focus();
	  return false;
	}
	var myreg = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
	if(!myreg.test(mail))
	{
	   alert('提示\n\n请输入有效的E_mail！');
		$("#mail").focus();
	   return false;
	}
			   
	var tel = $("#tel").val();
	if(!tel.length){
		alert('手机不能为空!请输入')
		$("#tel").focus();
		return false;
	}
	//验证电话号码手机号码，包含至今所有号段   
	var ab=/^(13[0-9]|15[0|3|6|7|8|9]|18[8|9])\d{8}$/;
	  if(ab.test(tel) == false)
	  {
	   alert("请正确填写手机号码!");
	   $("#tel").focus();
		return false;
	  }
	var message = $("#message").val();
	if(!message.length){
	  alert('留言不能为空,请输入');
	  $('#message').focus();
	  return false;
	}
	$.ajax({
		url:'/jiamenfile/jiameng.php',
		type:'post',
		dataType:'json',
		data:$('#jiamengform').serialize(),
		success:function(data){
			if(data.status){
				alert(data.info);
				window.location.href = '/mjiameng/join.html';
			}else{
				alert(data.info);
			}
		}
	});
	return false;
}
</script>
<style type="text/css">
#demo1 li,#demo2 li  { list-style:none; width:250px; height:25px; line-height:25px; overflow:hidden; }
#content-box {height:680px; width:860px; margin:0 auto; overflow:hidden;}
#Scrollbar-Container{ margin-left:853px}
.Scroller-Container,.Scroller-Container p{ color:#000; line-height:25px;}
#jiamengform .input { height:24px; border:1px solid #ccc; line-height:24px; padding-left:3px; margin:5px 0px; width:250px; }
</style>
<center>
  <table width="1280" border="0" cellspacing="0" cellpadding="0">
    <tr>
    
    <td height="942" align="center" valign="top" background="/jiamenfile/image/bg.jpg">
    
    {dede:include filename="jnav.htm"/}
    <table width="860" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td  height="30" align="left"><div class="aboutmenu">
            <ul>
              <div> {dede:channel type='son' row='10' noself='yes'}
                <li><a href='[field:typeurl/]'  class="head_01" title="[field:typename/]">[field:typename/]</a></li>
                {/dede:channel} </div>
            </ul>
          </div></td>
      </tr>
    </table>
    <table width="860" border="0" cellspacing="0" cellpadding="0">
      <tr>
      
      <td>
      <div id="content-box">
      
      <table width="860" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:17px">
        <tr>
        
        <td width="860" valign="top">
        <table width="860" border="0" cellspacing="0" cellpadding="0">
          <tr>
          
          <td height="345" align="center" valign="top" background="/jiamenfile/image/about.jpg">
          <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:10px">
            <tr>
              <td height="72"><div class="aboutdiv" style="margin-left:10px;">
                  <ul>
                    <li class="text_gray16">{dede:field.typename/}</li>
                    <li class="about_line">{dede:field.enname/}</li>
                  </ul>
                </div></td>
            </tr>
          </table>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
            
            <td height="560" align="left" valign="top">
            <div id="Container">
            
            <div id="News" style="width:860px; height:560px; background:#fff;">
            
            <div class="Scroller-Container" align="justify"  style=" width:860px;">
            
            <div style="margin:20px;">
            
            <form action="#" method="post" name="form1" onSubmit="return formall()" id="jiamengform">
              <table width="100%" border="0" cellspacing="0" cellpadding="0" style="line-height:25px;">
                <input type="hidden" name="dopost" value="add" />
                <tr class="name">
                  <th> 姓名：</th>
                  <td><div class="text-oper"> <span class="fontred">*</span>
                      <input class="input" type="text" id="name" name="name" value="" maxlength="20"  onblur="cname()"/>
                    </div>
                    <div class="text-tip"> <span class="tip-default"  id="name1"> 小于等于20个字符</span> <span class="tip-error"   style="display:none;"   id="name2"> 留言人为必填项，请填写</span> </div></td>
                </tr>
                <tr class="sex">
                  <th>性别：</th>
                  <td><div class="text-oper"><span class="fontnone">&nbsp;</span>
                      <input type="radio" value="1" id="sex1" name="sex"  checked="checked"  />
                      男
                      <input type="radio" value="2" id="sex2" name="sex"
            						 />
                      女 </div></td>
                </tr>
                <tr class="mail">
                  <th>您的邮箱：</th>
                  <td><div class="text-oper"> <span class="fontnone">&nbsp;</span>
                      <input class="input" type="text" id="mail" name="mail" value="" maxlength="50" onblur="cmail()"/>
                    </div>
                    <div class="text-tip"> <span class="tip-default"  id="mail1"> 示例：example@mail.com</span> <span class="tip-error"   style="display:none;"   id="mail3"> 请输入有效的邮箱</span> </div>
                    <span class="tip-error"   style="display:none;"   id="mail2"> 留言人邮箱为必填项，请填写</span>
                </div>
                
                </td>
                
                </tr>
                
                <tr class="remind-mail">
                  <th>&nbsp;</th>
                  <td><div class="text-oper"><span class="fontnone">&nbsp;</span>
                      <input id="isByMail" name="isByMail" type="checkbox" value="1" checked="checked"/>
                      回复时请邮件通知我</div></td>
                </tr>
                <tr class="phone">
                  <th> 手机号码：</th>
                  <td><div class="text-oper"> <span class="fontred">*</span>
                      <input class="input input-gray" type="text" id="tel" name="tel"  value="" maxlength="20" onblur="ctel()"/>
                    </div>
                    <div class="text-tip"> <span class="tip-default"  id="tel1"> 由数字、“+”、中横杠“-”组成，最大允许20个字符</span> <span class="tip-error"   style="display:none;"   id="tel3"> 手机号码应由数字、“+”、中横杠“-”组成，请重新填写</span> <span class="tip-error"   style="display:none;"   id="tel2"> 手机号码为必填项，请填写</span> </div></td>
                </tr>
                <tr class="area">
                  <th> 所在地区：</th>
                  <td><div class="text-oper"> <span class="fontnone">&nbsp;</span>
                      <input class="input input-gray" type="text" id="area" name="area" value="" maxlength="200"/>
                    </div>
                    <span class="tip-error"   style="display:none;"   id="area1"> 所在地区为必填项，请填写</span> <span class="tip-error"   style="display:none;"   id="area2"> </span>
                </div>
                </td>
                
                </tr>
                
                <tr class="customize">
                  <th> 身份证号码：</th>
                  <td><div class="text-oper"> <span class="fontnone">&nbsp;</span>
                      <input class="input" type="text" name="idnumber"  size="20" maxlength="320"  value="" />
                    </div>
                    <div class="text-tip"> <span class="tip-error"   style="display:none;"  id="idnumber1"> 请您输入正确的身份证号码！</span> <span class="tip-error"   style="display:none;"  id="idnumber2"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th valign="top">有无意向经营店铺：</th>
                  <td class="mail"><div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="isjoin" value="有" checked/>
                      有<br>
                    </div>
                    <div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="isjoin" value="无"/>
                      无<br>
                    </div>
                    <div class="text-tip"> <span class="tip-error"   style="display:none;"  id="isjoin1"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th> 店铺地址：</th>
                  <td>&nbsp;&nbsp;
                    <input type="text"  name="address" id="address" value="" class="input" />
                    <div class="text-tip"> <span class="tip-error"   style="display:none;"  id="address1"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th valign="top">所在区域：</th>
                  <td class="mail"><div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="inarea" value="步行街" checked />
                      步行街<br>
                    </div>
                    <div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="inarea" value="商场"/>
                      商场<br>
                    </div>
                    <div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="inarea" value="社区" />
                      社区<br>
                    </div>
                    <div class="text-tip"> <span class="tip-error"   style="display:none;"  id="inarea1"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th> 门头宽度：</th>
                  <td>&nbsp;&nbsp;
                    <input type="text"  name="width" id="width" value="" class="input"/>
                    <span class="tip-error"   style="display:none;"  id="width1"> 输入项必须为数字！</span> <span class="tip-error"   style="display:none;"  id="width2"> 本项为必填项，请填写</span>
                </div>
                </td>
                
                </tr>
                
                <tr class="customize">
                  <th> 商铺面积：</th>
                  <td>&nbsp;&nbsp;
                    <input type="text"  name="totarea" id="totarea" value=""  class="input"/>
                    <span class="tip-error"   style="display:none;"  id="totarea1"> 输入项必须为数字！</span> <span class="tip-error"   style="display:none;"  id="totarea2"> 本项为必填项，请填写</span>
                </div>
                </td>
                
                </tr>
                
                <tr class="customize">
                  <th> 招牌最大面积：</th>
                  <td>&nbsp;&nbsp;
                    <input type="text" name="jptotarea" id="jptotarea" value=""  class="input"/>
                    <div class="text-tip"> <span class="tip-error"   style="display:none;"  id="FrontMessages_customizeEmit01-1340160913213_erra49f54b3-f656-4989-8c34-2fcdc8c3176d"> 输入项必须为数字！</span> <span class="tip-error"   style="display:none;"  id="FrontMessages_customizeEmit01-1340160913213_noa49f54b3-f656-4989-8c34-2fcdc8c3176d"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th> 商铺转让费：</th>
                  <td>&nbsp;&nbsp;
                    <input type="text"  name="tomoney" id="tomoney" value=""  class="input"/>
                    <div class="text-tip"> <span class="tip-error"   style="display:none;"  id="tomoney1"> 输入项必须为数字！</span> <span class="tip-error"   style="display:none;"  id="tomoney2"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th> 店铺租金：</th>
                  <td><div class="text-oper"> &nbsp;&nbsp;
                      <input class="input" type="text" name="moonmoney" id="moonmoney"  size="20" maxlength="320"  value="" />
                    </div>
                    <div class="text-tip"> <span class="tip-error"   style="display:none;"  id="moonmoney1"> 输入项必须为数字！</span> <span class="tip-error"   style="display:none;"  id="moonmoney2"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th valign="top">你的资金来源：</th>
                  <td class="mail"><div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="formmoney" value="自费" checked >
                      自费<br>
                    </div>
                    <div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="formmoney" value="贷款"/>
                      贷款<br>
                    </div>
                    <div class="text-tip"> </span> <span class="tip-error"   style="display:none;"  id="formmoney1"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th valign="top">你的投资上限：</th>
                  <td class="mail"><div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="limitmoney" value="10万以下" checked />
                      10万以下<br>
                    </div>
                    <div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="limitmoney" value="10-20万"/>
                      10-20万<br>
                    </div>
                    <div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="limitmoney" value="20-30万"/>
                      20-30万<br>
                    </div>
                    <div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="limitmoney" value="30万以上"/>
                      30万以上<br>
                    </div>
                    <div class="text-tip"> </span> <span class="tip-error"   style="display:none;"  id="limitmoney1"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th valign="top">有无经验：</th>
                  <td class="mail"><div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="isjy" value="有" checked/>
                      有<br>
                    </div>
                    <div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="isjy" value="无"/>
                      无<br>
                    </div>
                    <div class="text-tip"> <span class="tip-error"   style="display:none;"  id="isjy"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th> 从事过那些工作：</th>
                  <td><div class="text-oper"> <span class="fontnone">&nbsp;</span>
                      <input class="input" type="text" name="work" id="work"  size="20" maxlength="320"  value=""/>
                    </div>
                    <div class="text-tip"> <span class="tip-error"   style="display:none;"  id="work1"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th valign="top">您是否认可公司的经营模式：</th>
                  <td class="mail"><div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="isok" value="是" checked/>
                      是<br>
                    </div>
                    <div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <input type="radio"  name="isok" value="否" />
                      否<br>
                    </div>
                    <div class="text-tip"> <span class="tip-error"   style="display:none;"  id="isok1"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th valign="top">您了解公司有多久：</th>
                  <td class="mail"><div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <select id="howold"  name="howold" >
                        <option value=""> 请选择</option>
                        <option value="1月以下" title="1月以下"> 1月以下</option>
                        <option value="2-6个月" title="2-6个月"> 2-6个月</option>
                        <option value="半年以上" title="半年以上"> 半年以上</option>
                      </select>
                    </div>
                    <div class="text-tip"> <span class="tip-error"   style="display:none;"  id="howold"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="customize">
                  <th valign="top">您最希望公司提供的扶持是：</th>
                  <td class="mail"><div class="text-oper text-oper1"> <span class="fontnone">&nbsp;</span>
                      <select id="youhope"  name="youhope">
                        <option value=""> 请选择</option>
                        <option value="资金" title="资金"> 资金</option>
                        <option value="技术" title="技术"> 技术</option>
                        <option value="供应产品" title="供应产品"> 供应产品</option>
                      </select>
                    </div>
                    <div class="text-tip"> <span class="tip-error"   style="display:none;"  id="youhope"> 本项为必填项，请填写</span> </div></td>
                </tr>
                <tr class="info">
                  <th valign="top">留言内容：</th>
                  <td><div class="text-oper"><span class="fontred">*</span>
                      <textarea class="textarea input-gray"  name="message" id="message" onblur="cmessage()" style="width:300px; height:100px;"></textarea>
                      <span class="tips"> 已输入字符：<span id="dynamicNum">0</span> 字<span class="tips"> </span> </span> </div>
                    <div class="text-tip"> <span class="tip-default"   id="message1"> 小于等于500字符</span> <span class="tip-error"  style="display:none;"    id="message2"> 留言内容为必填项，请填写</span> <span class="tip-error"   style="display:none;"   id="message3"> 留言内容应小于等于500字符，请重新填写</span> </div></td>
                </tr>
                <tr class="button-position">
                  <th>&nbsp;</th>
                  <td><span class="fontnone">&nbsp;</span>
                    <input id="submit" type="submit" title="提交申请"  class="btn btn-com-01"  value="发表申请" style="margin:10px; padding:5px 10px;"/>
                </tr>
              </table>
            </form>
            </div>
            
            </div>
            
            </div>
            
            </div>
            
            <div id="Scrollbar-Container">
              <div class="Scrollbar-Track" style="height:560px;">
                <div class="Scrollbar-Handle"></div>
              </div>
            </div>
            </td>
            
            </tr>
            
          </table>
          </td>
          
          </tr>
          
        </table>
        </td>
        
        </tr>
        
      </table>
      </div>
      </td>
      
      </tr>
      
    </table>
    {dede:include filename="jfoot.htm"/}
    </td>
    
    </tr>
    
  </table>
</center>
</body>
</html>
{dede:include filename="jfooter.htm"/}